<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	
	<xsl:param name="arg1"/>
	<xsl:param name="arg2"/>
	<xsl:param name="arg3"/>
	<xsl:param name="arg4"/>
	<xsl:param name="arg5"/>
	
	<xsl:template match="/">
		<templates xmlns="livcos.org/ns/cosmos/type">
			<template id="template_1">
				<title>Diagram Pen Path</title>
				<content>
					<path id="path_1" ref="{$arg1}" xmlns="livcos.org/ns/doc/diagram">
						<line id="line_1" to="{$arg2}"/>
						<xsl:if test="$arg3"><line id="line_2" to="{$arg3}"/></xsl:if>
						<xsl:if test="$arg4"><line id="line_3" to="{$arg4}"/></xsl:if>
						<xsl:if test="$arg5"><line id="line_4" to="{$arg5}"/></xsl:if>
					</path>
				</content>
			</template>
		</templates>
	</xsl:template>
	
</xsl:stylesheet>
